﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ManagerBackEnd
{
    public class Player
    {
        public String FirstName { get; set; }
        public String LastName { get; set; }
        int Age { get; set; }

        public Queue<int> Form = new Queue<int>();

        private const int AttributeMaximum = 100 + 1; // Maximum value: 100.

        // Mechanical skills
        int Combinations { get; set; }
        int Juking { get; set; }
        int LastHitting { get; set; }
        int Movement { get; set; }
        int Positioning { get; set; }
        int Reactions { get; set; }
        int SkillShots { get; set; }
        int WardPlacing { get; set; }
        int ____TS_else { get; set; }

        // Tactical skills
        int Anticipation { get; set; }
        int Communication { get; set; }
        int Itemization { get; set; }
        int Judgement { get; set; }
        int LaneControl { get; set; }
        int MapAwareness { get; set; }
        int Teamfight { get; set; }
        int Teamwork { get; set; }
        int TimerControl { get; set; }

        // Mental skills
        int Attitude { get; set; }
        int Competitiveness { get; set; }
        int Composure { get; set; }
        int Concentration { get; set; }
        int Dedication { get; set; }
        int Nerves { get; set; }
        int Obedience { get; set; }
        int Professionalism { get; set; }
        int Talent { get; set; }

        public Player()
        {
            FirstName = "Anders";
            LastName = "Faurholdt";
            Age = 23;
            var rand = new Random();

            Combinations = rand.Next(1, AttributeMaximum);
            Juking = rand.Next(1, AttributeMaximum);
            LastHitting = rand.Next(1, AttributeMaximum);
            Movement = rand.Next(1, AttributeMaximum);
            Positioning = rand.Next(1, AttributeMaximum);
            Reactions = rand.Next(1, AttributeMaximum);
            SkillShots = rand.Next(1, AttributeMaximum);
            WardPlacing = rand.Next(1, AttributeMaximum);
            ____TS_else = rand.Next(1, AttributeMaximum);

            Anticipation = rand.Next(1, AttributeMaximum);
            Communication = rand.Next(1, AttributeMaximum);
            Itemization = rand.Next(1, AttributeMaximum);
            Judgement = rand.Next(1, AttributeMaximum);
            LaneControl = rand.Next(1, AttributeMaximum);
            MapAwareness = rand.Next(1, AttributeMaximum);
            Teamfight = rand.Next(1, AttributeMaximum);
            Teamwork = rand.Next(1, AttributeMaximum);
            TimerControl = rand.Next(1, AttributeMaximum);

            Attitude = rand.Next(1, AttributeMaximum);
            Competitiveness = rand.Next(1, AttributeMaximum);
            Composure = rand.Next(1, AttributeMaximum);
            Concentration = rand.Next(1, AttributeMaximum);
            Dedication = rand.Next(1, AttributeMaximum);
            Nerves = rand.Next(1, AttributeMaximum);
            Obedience = rand.Next(1, AttributeMaximum);
            Professionalism = rand.Next(1, AttributeMaximum);
            Talent = rand.Next(1, AttributeMaximum);
        }
    }
}
